package com.j180.controller;

import Bean.StudentBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/student")
public class StudentController {

    @PostMapping("/add")
    public StudentBean  AddStudent(StudentBean studentBean){

        System.out.println(studentBean);

        return studentBean;

    }
}
